package com.freesky.web.portal.reomte.fallback;

import com.freesky.common.utils.reponse.JSONResponse;
import com.freesky.web.portal.reomte.ItemRemote;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class ItemRemoteFallback implements ItemRemote {
    private Logger logger = LoggerFactory.getLogger(ItemRemoteFallback.class);

    @Override
    public JSONResponse getItemDetail(String id) {
        logger.error("商品服务维护中");
        return null;
    }
    @Override
    public JSONResponse getAll(int page, int size, String sort, Long cid, int priceGt, int priceLte) {
        logger.error("订单商品服务维护中，前台无法获取商品列表");
        return null;
    }

}
